LiteSpeed\Media D

Total Complexity 189
Dependencies 10
Dependents 1
Total lines 1,097
Lines of code 620
Logical lines of code 397
Comment lines 281
Methods 27
Properties 3

Methods 27

Method Rating Maintainability Complexity Lines of code
_parse_img()
D
32 34 85
_finalize()
C
38 24 61
media_row_con()
B
33 15 108
_replace_buffer_img_webp()
A
44 16 39
_parse_iframe()
A
45 13 38
_parse_img_for_preload()
A
48 10 31
webp_support()
A
54 8 20
init()
A
54 8 19
_detect_dimensions()
S
55 7 19
replace_background_webp()
S
54 6 20
info()
S
54 6 20
replace_urls_in_json()
S
53 5 22
replace_webp()
S
55 4 20
get_image_sizes()
S
56 4 18
finalize()
S
57 4 18
webp_srcset()
S
63 4 11
webp_attach_img_src()
S
68 3 7
finalize_head()
S
66 3 9
webp_url()
S
71 3 6
media_row_actions()
S
71 2 6
rename()
S
64 2 9
del()
S
66 2 8
adjust_jpg_quality()
S
70 2 7
media_row_title()
S
75 1 4
delete_attachment()
S
75 1 4
after_admin_init()
S
67 1 7
__construct()
S
76 1 4